home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ SFP Options 4.xpl
< prev
next >
Wrap
Text File
|
2001-04-12
|
1KB
|
55 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="2"
"COUNT"="1"
"UIPATH"="System\Software Installation\Windows File Protection"
"NAME"="WFP Disk Quota"
"VERSION"="1.14"
"OSVERSION"="0001011"
"LANGUAGE"="VBScript"
"TEXT 1"="Quota (MB)"
"DESCRIPTION 1"="By default, WFP uses an unlimited amount of disk space for it's cache of system files."
"DESCRIPTION 2"="However, you can limit this space here to suit your needs."
"DESCRIPTION 3"="To have the default value again, just clear the field."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sV1="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SFCQuota" 'DW
sV1_Val=4294967295
Sub Plugin_Initialize
s=RegReadValue(sV1)
'NOTE: this number is so BIG, you need to compare it as string...
if s=cstr(sV1_Val) or IsEmpty(s) then
setuielement 1,"" 'default value, set to empty field
else
setuielement 1,s
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if len(s)=0 then
s=RegReadValue(sV1)
if IsEmpty(s)=false then RegDeleteValue(sV1)
else
Call RegWriteValue(sV1,s,2)
end if
End Sub
Sub Plugin_Terminate
End Sub